from django.urls import path

from . import views
from .views import RegisterView,ActiveView,LoginView

app_name = 'goods'

urlpatterns = [
    # 首页
    path("", views.index, name='index'),

    #注册
    path("register", RegisterView.as_view(),name="register"),
    # 账户激活
    path('active/<token>', ActiveView.as_view(), name="active"),
    # 登录
    path("login", LoginView.as_view(), name="login"),
    # 报错页面
    path("not_page/",views.not_find_page, name = "not_page")

    #登录
    #path('login/',views.render,name='login'),
    #处理用户提交的数据
    #path(r"register_handle$",views.register_handle,name='register_handle'),

]











